import instance from '../utils/request'

function getSearchSuggestion ({ q }) {
  return instance({
    method: 'get',
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}
export { getSearchSuggestion }
